{% extends 'base.html' %}
{%  block title %}暂未开放{% endblock %}
{% block body %}
     <div class="jumbotron text-center">
      <p>暂未开放此功能！ 联系作者或者管理员   还有<span id="sp">5</span>秒跳转到登录界面...</p>
    </div>

<script>
    onload=function () {
        setInterval(go,1000)
    };
    var x=4;
    function go() {

        if (x>=0){
            document.getElementById("sp").innerText=x;
        }else {
            location.href="../login/";
        }
        x--;
    }
</script>
{% endblock %}